<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<link href="#{facesContext.externalContext.request.contextPath}/resources/css/icones.css" rel="stylesheet" type="text/css" />
</h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<title>Pesquisa</title>

<h:body>
	<h:form>
	<p:growl id="messages" />
		<p:menubar style="width: 1305px; margin-top: 10px;">
			<p:menuitem icon="home_image" id="homeId" url="/home.xhtml" value="#{msg.label_home}" ></p:menuitem>
			<p:menuitem icon="pesquisa_image" action="#{estabelecimentoMB.abaPesquisar}" value="#{msg.label_pesquisar}" ></p:menuitem>
			<p:submenu icon="empresa_image" label="#{msg.label_est}">
				<p:menuitem value="#{msg.label_Cadastrar}" action="#{estabelecimentoMB.abaEstabelecimento}" ajax="false" icon="add_image" />
				<p:menuitem value="#{msg.label_lista_Estabelecimento}" action="#{estabelecimentoMB.listaDeEstabelecimentos}" icon="lista_image" />
				<p:menuitem value="#{msg.label_lista_Segmneto}" action="#{segmentoMB.abaSegmento}" icon="add_image" />
			</p:submenu>
			<p:submenu icon="clientes_image" label="#{msg.label_cliente}">
				<p:menuitem value="#{msg.label_Cadastrar}" icon="add_image" ajax="false"  url="/cadastro/cadastroCliente.xhtml" />
	 			<p:menuitem action="#{clienteMB.listar}" icon="lista_image" value="#{msg.label_listaClientes}"/>
			</p:submenu>
			<p:menuitem icon="sair_image" action="#{loginMB.sair}" ajax="false" value="#{msg.label_sair}" ></p:menuitem>
		</p:menubar>
	</h:form>
</h:body>
</html>

